package com.yanqu.road.entity.match;

import com.yanqu.road.entity.DataObject;

/**
 * @author ：zfr
 * @date ：2021/3/17 20:09
 */
public class MatchWeekRankRewardState extends DataObject {
    private long userId;
    private int weekId;
    private boolean getReward;
    private long getRewardTime;
    private long value;

    public long getUserId() {
        return userId;
    }

    public void setUserId(long userId) {
        this.userId = userId;
    }

    public int getWeekId() {
        return weekId;
    }

    public void setWeekId(int weekId) {
        this.weekId = weekId;
    }

    public boolean isGetReward() {
        return getReward;
    }

    public void setGetReward(boolean getReward) {
        if (this.getReward != getReward) {
            this.getReward = getReward;
            setUpdateOption();
        }
    }

    public long getGetRewardTime() {
        return getRewardTime;
    }

    public void setGetRewardTime(long getRewardTime) {
        if (this.getRewardTime != getRewardTime) {
            this.getRewardTime = getRewardTime;
            setUpdateOption();
        }
    }

    public long getValue() {
        return value;
    }

    public void setValue(long value) {
        if (this.value != value) {
            this.value = value;
            setUpdateOption();
        }
    }
}
